package xyz.liut.autolaunch;

import android.content.Context;
import android.util.Log;

import androidx.test.core.app.ApplicationProvider;

import org.junit.Test;

/**
 * Create by liut on 20-10-29
 */
public class SystemUtilsTest {

    private static final String TAG = "SystemUtilsTest";

    @Test
    public void isScreenOn() {
        Context context = ApplicationProvider.getApplicationContext();
        Log.d(TAG, "isScreenOn: " + SystemUtils.isScreenOn(context));
    }

    @Test
    public void isLocked() {
        Context context = ApplicationProvider.getApplicationContext();
        Log.d(TAG, "isLocked: " + SystemUtils.isLocked(context));
    }

}
